import Layout from '@/views/layout/Layout'

const educateRouter = {
  path: '/educatecloud',
  component: Layout,
  name: 'Educatecloud',
  meta: {
    title: '教育云',
    icon: 'peoples'
  },
  children: [
    //   {
    //   path: 'about',
    //   name: 'About',
    //   component: () =>
    //     import('@/views/educatecloud/about'),
    //   meta: {
    //     title: '概览'
    //   }
    // },
    {
      path: 'cloudvideo',
      name: 'Cloudvideo',
      component: () =>
        import('@/views/educatecloud/cloudvideo'),
      meta: {
        title: '云视频'
      }
    },
    {
      path: 'cloudlive',
      name: 'Cloudlive',
      component: () =>
        import('@/views/educatecloud/cloudlive'),
      meta: {
        title: '云直播'
      }
    },
    {
      path: 'cloudmsg',
      name: 'Cloudmsg',
      component: () =>
        import('@/views/educatecloud/cloudmsg'),
      meta: {
        title: '云短信'
      }
    },
    // {
    //   path: 'cloudsearch',
    //   name: 'Cloudsearch',
    //   component: () =>
    //     import('@/views/educatecloud/cloudsearch'),
    //   meta: {
    //     title: '云搜索'
    //   },
    //   hidden: true
    // },
    {
      path: 'setaccessory',
      name: 'Setaccessory',
      component: () =>
        import('@/views/educatecloud/setaccessory'),
      meta: {
        title: '云附件设置'
      }
    },
    // {
    //   path: 'dredgeserve',
    //   name: 'Dredgeserve',
    //   component: () =>
    //     import('@/views/system/dredgeserve'),
    //   meta: {
    //     title: 'ES应用'
    //   }
    // },
    {
      path: 'cloudresource',
      name: 'Cloudresource',
      component: () =>
        import('@/views/educatecloud/cloudresource'),
      meta: {
        title: '云资源'
      }
    },
    {
      path: 'cloudresource-editor',
      name: 'Cloudresource-editor',
      component: () =>
        import('@/views/educatecloud/editResource'),
      meta: {
        title: '资源详情'
      },
      hidden: true
    }
    // ,
    // {
    //   path: 'cloudaccessory',
    //   name: 'Cloudaccessory',
    //   component: () =>
    //     import('@/views/educatecloud/cloudaccessory'),
    //   meta: {
    //     title: '云附件'
    //   }
    // }
  ]
}
export default educateRouter
